package com.thiswhyme.vc.config;

import org.springframework.boot.autoconfigure.web.servlet.WebMvcRegistrations;
import org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping;

import com.thiswhyme.vc.core.ApiHandlerMapping;

/**
 * api版本控制配置
 * Created by thiswhyme on 2021-01-18.
 */
public class ApiAutoConfiguration implements WebMvcRegistrations {

    @Override
    public RequestMappingHandlerMapping getRequestMappingHandlerMapping() {
        return new ApiHandlerMapping();
    }

}
